﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyJsonSerialization
{
    class Address
    {
        /// <summary>
        /// Initialization of Address
        /// </summary>
        /// <param name="country"></param>
        /// <param name="city"></param>
        /// <param name="street"></param>
        /// <param name="house"></param>
        /// <param name="flat"></param>
        public Address(string country, string city, string street, int house, int flat)
        {
            this.m_City = city;
            this.m_Country = country;
            this.m_Street = street;
            this.m_House = house;
            this.m_Flat = flat;
        }

        #region Properties

        public string Country { get; set; }
        public string City { get; set; }
        public string Street { get; set; }
        public int House { get; set; }
        public int Flat { get; set; }

        #endregion

        #region Private fields
        
        private string m_Country;
        private string m_City;
        private string m_Street;
        private int m_House;
        private int m_Flat;
        
        #endregion
    }
}
